﻿using PMS.Core.Configuration.CommonEnumConfigs;
using PMS.Web.Framework.Models;
using PMS.Web.Framework.Mvc.ModelBinding;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace PMS.Web.Models.Customers
{
    public partial class ChangePasswordModel : BaseEntityModel
    {
        [NoTrim]
        [DataType(DataType.Password)]
        [DisplayName("原密码")]
        public string OldPassword { get; set; }

        [NoTrim]
        [DataType(DataType.Password)]
        [DisplayName("新密码")]
        public string NewPassword { get; set; }

        [NoTrim]
        [DataType(DataType.Password)]
        [DisplayName("新密码确认")]
        public string ConfirmNewPassword { get; set; }

        public PasswordStrongLevel PasswordStrongLevel { get; set; }
    }
}
